package cn.kgm.makeGodV2;

import cn.kgm.makeGodV2.emotion.PersonalityTrait;
import cn.kgm.makeGodV2.personalityTag.PersonalityTagManager;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

/**
 * @Version 1.8
 * @Author: Kappi
 * @Date: 2025-9-16 10:27
 * @Description: cn.kgm.makeGodV2.NPC
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GamePlayer {
    private String id;
    private String name;
    private PersonalityTrait traits;
    private Set<String> tags;
    private Map<String, Double> relationships; // 与其他NPC的关系值
    private UnifiedTagManager tagManager;
    private PersonalityTagManager personalityTagManager;
    // 地点
    private String currentLocation;

    // 构造函数、getter和setter方法
    public GamePlayer(String id, String name, PersonalityTrait traits) {
        this.id = id;
        this.name = name;
        this.traits = traits;
        this.tags = new HashSet<>();
        this.relationships = new HashMap<>();
    }
}
